package com.atguigu.tingshu.account.client.impl;


import com.atguigu.tingshu.account.client.UserAccountFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.vo.account.AccountLockVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class UserAccountDegradeFeignClient implements UserAccountFeignClient {

    private static final Logger log = LoggerFactory.getLogger(UserAccountDegradeFeignClient.class);

    @Override
    public Result checkAndLock(AccountLockVo accountLockVo) {
        log.info("检查及扣减账户余额熔断降级方法");
        return null;
    }
}
